package br.cin.ufpe.basic;

import java.util.ArrayList;
import java.util.List;

public class SymbolicPattern {
	
	private List<IntervalAttribute> attributes;
	private String label;
	
	public SymbolicPattern(){
		this.attributes = new ArrayList<IntervalAttribute>();
	}
	
	public SymbolicPattern(int numAtt){
		this.attributes = new ArrayList<IntervalAttribute>();
		for(int i=0;i<numAtt;i++){
			IntervalAttribute intAtt = new IntervalAttribute();
			attributes.add(intAtt);
		}
	}

	public void setAttributes(List<IntervalAttribute> attributes) {
		this.attributes = attributes;
	}

	public List<IntervalAttribute> getAttributes() {
		return attributes;
	}
	
	public void addAttribute(IntervalAttribute att){
		attributes.add(att);
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public String getLabel() {
		return label;
	}

}
